local blaze = require "blaze"
local app = require "club.threecard.blackjack"

local M = app.ui.activity()

function M:ctor()
    self.res = "club.threecard.blackjack/ui/entrance.b:EntranceUI"
end

function M:on_injected(bind)
    bind("button.click", self.exit_btn, function() self:on_exit_game() end)
end

function M:on_exit_game()
    app:exit()
end

return M
